Platform Core .NET Assemblies API
FetchFromDB(String,Object,IEnumerable<String>,Boolean) Method
See Also  Send Feedback
Terrasoft.Core.Entities Namespace > Entity Class > FetchFromDB Method : FetchFromDB(String,Object,IEnumerable<String>,Boolean) Method
conditionColumnName
The name of the column for which the selection condition is specified.
conditionValue
The value of the condition column for the selected data.
columnNamesToFetch
List of column names to be selected.
useDisplayValues
Indicates that the query returns the primary display values. If the parameter is true, the query will return the primary display values.

Glossary Item Box

Under the specified condition, loads an object from the database with a set of columns with the specified names.

Syntax

 
C#
 
 

Parameters

conditionColumnName
The name of the column for which the selection condition is specified.
conditionValue
The value of the condition column for the selected data.
columnNamesToFetch
List of column names to be selected.
useDisplayValues
Indicates that the query returns the primary display values. If the parameter is true, the query will return the primary display values.

Return Value

true,, if the object is loaded otherwise - false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.